<?php
require_once(dirname(__FILE__)."/config.php");
AjaxHead();
if($myurl == '')
{
	exit('');
}
$uid  = $cfg_ml->M_LoginID;

!$cfg_ml->fields['face'] && $face = ($cfg_ml->fields['sex'] == '女')? 'dfgirl' : 'dfboy';
$facepic = empty($face)? $cfg_ml->fields['face'] : $GLOBALS['cfg_memberurl'].'/templets/images/'.$face.'.png';

?>
<div class="userinfo">
    <div class="welcome">你好：<strong><?php echo $cfg_ml->fields['userid']; ?></strong>，欢迎登录。</div>
    <div class="userface">
        <a href="<?php echo $cfg_memberurl; ?>/"><img src="<?php echo $facepic;?>" /></a>
    </div>
    <!--div class="mylink">
        <ul>
            <li><a href="<?php echo $cfg_memberurl; ?>/mystow.php">我收藏的文章</a></li>
            <li><a href="<?php echo $cfg_memberurl; ?>/article_add.php">有偿投稿</a></li>
            <li><a href="<?php echo $cfg_memberurl; ?>/index.php">我的23PS</a></li>
            <li><a href="<?php echo $cfg_memberurl; ?>/edit_fullinfo.php">编辑资料</a></li>
        </ul>
    </div-->
    <a href="/member/article_add.php" class="post">有偿<br />投稿</a>

    <div class="uclink" style="line-height:26px;">
        <a href="<?php echo $cfg_memberurl; ?>/">后台管理</a><br/>
        <a href="<?php echo $myurl;?>">我的空间</a><br/>
        <a href="<?php echo $cfg_memberurl; ?>/index_do.php?fmdo=login&dopost=exit">退出登录</a> 
    </div>

</div><!-- /userinfo -->